import {combineReducers} from 'redux'
import orderListReducer from './orderListReducer'
import addressReducer from './addressReducer';
import addCarReducer from './addCarReducer';
import carDetailReducer from './carDetailReducer';
import illegalDetailListReducer from './illegalDetailListReducer';
import payMentReducer from './payMentReducer';
import orderDetailReducer from './orderDetailReducer';
import homeReducer from './homeReducer';
import addMessageReducer from './addMessageReducer';
import paySuccessReducer from './paySuccessReducer';

const rootReducer = combineReducers({
    orderList: orderListReducer,
    currentAddress: addressReducer,
    addCarInfo:addCarReducer,
    carDetailInfo:carDetailReducer,
    illegalDetailInfo:illegalDetailListReducer,
    payMentInfo:payMentReducer,
    orderDetailInfo:orderDetailReducer,
    homeInfo:homeReducer,
    addMessageInfo:addMessageReducer,
    paySuccessInfo:paySuccessReducer
});

export default rootReducer;
